const { merge } = require("webpack-merge");
const devConfig = require("./ui.dev");
const { PROJECT_ROOT } = require("./common");
const path = require("path");

module.exports = merge(devConfig, {
  devServer: {
    port: 8081,
    static: path.resolve(PROJECT_ROOT, "dist"),
    hot: true,
  },
});
